<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  String basePathCl = request.getScheme()+"://"+request.getServerName()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta http-equiv="Expires" content="0">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Cache-control" content="no-cache">
  <meta http-equiv="Cache" content="no-cache">
  <title>活动抽奖</title>
  <script src="<%=basePath%>weixin/js/jquery.min.js"></script>
  <script src="<%=basePath%>js/prize/js/valid.js"></script>
  <link rel="stylesheet" href="<%=basePath%>js/prize/css/base.css" />
  <script>
    window.basePathUrl = '<%=basePath%>';
  </script>
</head>
<body>
<div class="p-list">
  <ul class="clearfix">
    <c:forEach items="${prizeList}" var="prize">
      <li>
        <div><span>${prize.prize_time}</span></div>
        <div>
          <p>${prize.prize_name} - ${prize.dial_module}</p>
          <p class="valid-code">${prize.prize_code}</p>
        </div>
      </li>
    </c:forEach>
  </ul>
</div>
</body>
</html>
